get Remaining Lots
fun getRemainingLots(book: AccountBook, secAcct: Account, unrealizedAsOfDate: Int): Hashtable<String, AvailableSharesTracker>?
Determine the remaining lots in a lot-based security account, as of a specified date, accounting for all sales on or prior to that date.
Return
A map of transaction ID (key) to number of shares remaining for that transaction (value) of all remaining (unsold) shares in the account as of that date. Will return null if the security account doesn't use lot-based accounting.
Parameters
book
The data set that contains the transactions
sec Acct
The security to compute the remaining lots for.
unrealized As Of Date
The date prior to which to get the unused lots.